﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YiYiTong.Rocket.EFDBFirst;
using YiYiTong.Rocket.Entity;

namespace YiYiTong.Rocket.Model.ParamModel
{
    public class FirstRefundQueryModel : BaseQueryModel
    {
        public string account_mobile { get; set; }
        public string replace_buyer_NO { get; set; }
        public string member_name { get; set; }

        public int status { get; set; } = -10;

        public int first_audit_status { get; set; } = -10;

        public int two_audit_status { get; set; } = -10;

        /// <summary>
        /// 订单类型
        /// </summary>
        public int business_order_type { get; set; } = 0;

        public string master_order_no { get; set; }
        /// <summary>
        /// 退款订单号
        /// </summary>
        public string order_no { get; set; }

        public DateTime? create_time_begin { get; set; } //= DateTime.Now.Date.AddDays(-6);
        public DateTime? create_time_end { get; set; } //= DateTime.Now.Date.AddSeconds(24 * 60 * 60 - 1);
    }

    public class RefundOrderModel
    {
        public ADZ_RefundOrder refundorder { get; set; }

        public View_Order view_order { get; set; }

        public List<OrderGoods> orderGoods { get; set; } = new List<OrderGoods>();
    }
}
